package cn.yunhe.service.impl;

import cn.yunhe.dao.MemberDaoEntity;
import cn.yunhe.entity.Member;
import cn.yunhe.service.MemberBizEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

@Service(value = "memberBizEntity")
public class MemberBizEntityImpl implements MemberBizEntity {

    @Autowired
    @Qualifier(value = "memberDaoEntity")
    private MemberDaoEntity memberDaoEntity;

    @Override
    public Member login(Member member) {
        return memberDaoEntity.login(member);
    }

}
